-- GENERATED SPELL FOR [Ridgespine Stalker] --


function spell0_20714(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20714', 30000, 1)
end

function Sorts_20714(pUnit, Event)
local choix_sorts_20714 = math.random(0, 0)
if choix_sorts_20714 == 0 then
pUnit:RegisterEvent('spell0_20714', 1, 1)
end
end

function mob20714_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20714', math.random(1500, 3000), 1)
end

function mob20714_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20714_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20714_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20714, 1, 'mob20714_Action')
RegisterUnitEvent(20714, 2, 'mob20714_Leave')
RegisterUnitEvent(20714, 3, 'mob20714_Kill')
RegisterUnitEvent(20714, 4, 'mob20714_Die')
